package org.example.service;

import org.example.entity.Comment;
import org.example.entity.PageBean;

import java.util.List;

public interface CommentService {
    boolean addComment(String openId,Integer orderId,String commentText);


    boolean deleteComment(Integer commentId);

    List<Comment> getUsersComment(String openId);

    List<Comment> getGoodsComment(Integer goodsId);

    PageBean<Comment> getCommentListByReason(Integer pageSize, Integer page, String commentIdBegin, String commentIdEnd, String commentText, String goodsId, String beginTime, String endTime);
}
